package com.zhongyu.comm.api;

import com.zhongyu.comm.pojo.SchedulerSeat;
import com.zhongyu.comm.vo.CreateOrderVo;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface SchedulerSeatApi {

    @RequestMapping("/schedulerSeatApi/findByScheduleId")
    List<SchedulerSeat> findByScheduleId(@RequestParam("scheduleId") Integer scheduleId);

    @RequestMapping("/schedulerSeatApi/updateSeatAndAddTask")
     String updateSeatAndAddTask(@RequestBody CreateOrderVo createOrderVo);
    // Map<String, Object> updateSeatAndAddTask(@RequestBody CreateOrderVo createOrderVo);
}
